// 
// Decompiled by Procyon v0.5.36
// 

package com.cyberfend.cyfsecurity;

import java.util.*;
import android.os.*;
import com.cyberfend.cyfsecurity.b.*;

final class x
{
    private final com.cyberfend.cyfsecurity.y c;
    final com.cyberfend.cyfsecurity.x.a a;
    com.cyberfend.cyfsecurity.g b;
    
    x() {
        this.a = new com.cyberfend.cyfsecurity.x.a((byte)0);
        this.c = new com.cyberfend.cyfsecurity.y();
    }
    
    private final class a implements java.util.Observer
    {
        @java.lang.Override
        public final void update(final java.util.Observable observable, final java.lang.Object data) {
            try {
                if (data == null) {
                    if (com.cyberfend.cyfsecurity.e.i == 1L || com.cyberfend.cyfsecurity.e.i == 6L || (com.cyberfend.cyfsecurity.e.i > 6L && (com.cyberfend.cyfsecurity.e.i - 6L) % 10L == 0L)) {
                        com.cyberfend.cyfsecurity.CYFMonitor.b().b();
                    }
                    if (com.cyberfend.cyfsecurity.d.d && (com.cyberfend.cyfsecurity.e.i == 1L || com.cyberfend.cyfsecurity.e.i == 6L || (com.cyberfend.cyfsecurity.e.i > 6L && (com.cyberfend.cyfsecurity.e.i - 6L) % 10L == 0L))) {
                        com.cyberfend.cyfsecurity.b.a(4);
                    }
                }
                else {
                    b = (com.cyberfend.cyfsecurity.g)data;
                    final com.cyberfend.cyfsecurity.g b = com.cyberfend.cyfsecurity.x.this.b;
                    java.lang.String s = b.b + "," + (java.lang.Object)b.a + "," + b.c;
                    if (b.d) {
                        s += ",1";
                    }
                    final java.lang.String string = s + ";";
                    com.cyberfend.cyfsecurity.e.c += string;
                    com.cyberfend.cyfsecurity.e.d += b.a + com.cyberfend.cyfsecurity.u.b(b.b) + b.c;
                    ++com.cyberfend.cyfsecurity.e.g;
                    ++com.cyberfend.cyfsecurity.e.h;
                    new java.lang.StringBuilder("Count: ").append(com.cyberfend.cyfsecurity.e.i).append(", Key String ").append(string).append(", time(ms): ").append((java.lang.Object)(android.os.SystemClock.uptimeMillis() - com.cyberfend.cyfsecurity.d.e - b.a));
                }
            }
            catch (java.lang.Exception ex) {
                com.cyberfend.cyfsecurity.b.a.b("TextChangeManager", "Exception in processing text change event", ex);
                com.cyberfend.cyfsecurity.f.a(ex);
            }
        }
    }
}
